home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
TPUG - Toronto PET Users Group
/
TPUG Users Group CD
/
TPUG Users Group CD.iso
/
TPUG Xtras
/
Xtras
/
progdisk.d64
/
draw
(
.txt
)
< prev
next >
Wrap
Commodore BASIC
|
2009-02-07
|
978b
|
37 lines
10 PRINTCHR$(9)CHR$(142):POKE53281,1:POKE53280,6:A=1
20 PRINT"[147]"TAB(17)" [146]"
30 PRINTTAB(17)" DRAW [146]"
40 PRINTTAB(17)" [146]"
50 PRINTTAB(4)"USE THE CURSOR KEYS AND SHIFT KEY"
60 PRINTTAB(7)"TO MOVE THE RACERS AROUND"
70 PRINT" PRESS:"
80 PRINT" F1 FOR THE RED SYMBOL"
90 PRINT"[151] F3 FOR THE BLACK SYMBOL"
100 PRINTTAB(10)"TO CLEAR THE SCREEN"
103 PRINTTAB(10)"PRESS SHIFT AND CLR"
105 PRINTTAB(9)"[207][183][183][183][183][183][183][183][183][183][183][183][183][183][183][183][183][183][183][183][183][208]"
110 PRINTTAB(9)"[180]HIT ANY KEY TO START[170]"
115 PRINTTAB(9)"[204][175][175][175][175][175][175][175][175][175][175][175][175][175][175][175][175][175][175][175][175][186]"
120 GET A$:IFA$=""THEN120
130 POKE53280,1:PRINT"[147]"
140 X=1024:POKEX,160:POKEX+54272,2:Y=1063:POKEY,83:POKEY+54272,11
150 GETA$:IFA$=""THENPRINTCHR$(142);:GOTO150
160 IFA$=CHR$(147)THEN130
170 IFA$="[133]"THENA=1
180 IFA$="[134]"THENA=2
190 ONAGOTO200,270
200 IFA$="[145]"THENX=X-40:GOTO240
210 IFA$=""THENX=X+40:GOTO240
220 IFA$=""THENX=X+1:GOTO240
230 IFA$="[157]"THENX=X-1
240 IFX<1024THENX=1024
250 IFX>2023THENX=2023
260 PRINTCHR$(142);:POKEX,160:POKEX+54272,2:GOTO150
270 IFA$="[145]"THENY=Y-40:GOTO310
280 IFA$=""THENY=Y+40:GOTO310
290 IFA$=""THENY=Y+1:GOTO310
300 IFA$="[157]"THENY=Y-1
310 IFY<1024THENY=1024
320 IFY>2023THENY=2023
330 PRINTCHR$(142);:POKEY,83:POKEY+54272,11:GOTO150